﻿/** 
 *  页面加载等待页面 
 * 
 * @author gxjiang 
 * @date 2010/7/24 
 * 
 */  
 var height = window.screen.height-250;  
 var width = window.screen.width;  
 var leftW = 300;  
 if(width>1200){  
    leftW = 650;  
 }else if(width>1000){  
    leftW = 500;  
 }else {  
    leftW = 100;  
 }

var _html = "<div id='loading' style='z-index:9999;position:absolute;left:0;width:100%;height:100%;top:0;background:#000;opacity:0.7;filter:alpha(opacity=70);'><div style='position:absolute;  cursor1:wait;left:" + leftW + "px;top:200px;width:auto;height:16px;padding:12px 5px 10px 30px;background:#fff url(/Admin/Themes/Images/loading.gif) no-repeat scroll 10px 12px;border:2px solid #ccc;color:#000;'>正在加载，请等待...</div></div>";

 window.onload = function() {
     var _mask = document.getElementById('loading');
     _mask.parentNode.removeChild(_mask);
 };
  
       
 document.write(_html);  